/*
 * @Author: pengtianrui 2276608413@qq.com
 * @Date: 2024-08-22 17:07:35
 * @LastEditors: Wang Shuo wangshuo@sgsimulation.com
 * @LastEditTime: 2024-08-30 13:39:09
 * @FilePath: \SGFEM\DataStructure\FEM\Material\src\Anisotropic2DMaterial.cpp
 */

#include "DataStructure/Input/Material/Anisotropic2DMaterial.h"

#include "DataStructure/Common/Validation.h"

bool SG::DataStructure::FEM::operator== (const Anisotropic2DMaterial& val1, const Anisotropic2DMaterial& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE_ARR (m_G, 6)
    FIELD_COMPARE (m_rho)
    FIELD_COMPARE_ARR (m_Ai, 6)
    FIELD_COMPARE (m_tref)
    FIELD_COMPARE (m_ge)
    FIELD_COMPARE (m_ge)
    FIELD_COMPARE (m_ST)
    FIELD_COMPARE (m_SC)
    FIELD_COMPARE (m_SS)
    FIELD_COMPARE (m_mcsid)
    FIELD_COMPARE (m_domainId)

    return true;
}
